PublishEvent<T> Method

Summary
Allow components to publish their own typed events to other components.
Syntax
C#
VB
C++
public void PublishEvent<T>( 
   object publisher, 
   T eventArgs 
) 
  
Sub PublishEvent(Of T As EventArgs)( _ 
   ByVal publisher As Object, _ 
   ByVal eventArgs As T _ 
)  
void PublishEventgeneric<typename T> 
(  
   Object^ publisher, 
   T^ _eventArgs_ 
)  
where T: EventArgs 

Parameters

publisher
The System.Object publishing the event.

eventArgs
An object that holds the event typed information.

Type Parameters

T
The type of the event to be published.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.